package com.qfedu.edu.bo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author xiaobobo
 * @title: QueueMessage
 * @projectName cd-fy-2401-third-project-parent
 * @description: 队列消息对象
 * @date 2024/10/9  16:55
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class QueueMessage {
    //交换机的名字
    private String exchangeName;

    //队列名字
    private String queueName;

    //路由key
    private String routingKey;

    //向队列中发送的消息
    private String msg;

    //消息的类型   0:硬件发送给MessageCenter的消息
    private Integer type=0;
}
